<?php
namespace Mapi\Model;
use Think\Model\MongoModel;

class LogModel extends MongoModel {
	protected $connection = array(
		'DB_TYPE' => 'mongo',
		'DB_HOST' => 'data.local.appwuhan',//数据库地址
	   	'DB_PORT' => '10086',//数据库端口 默认27017
	);

	protected $dbName = 'whtvjw';
	protected $trueTableName = 'log';//数据表名
	protected $_idType = self::TYPE_INT;
	protected $_autoInc =  true;
}